package org.ww.ware.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.ww.common.utils.R;

import java.util.List;

/**
 * @program: gmall
 * @description: 商品feign
 * @author: ww
 * @create: 2024-02-01 16:38
 **/

@FeignClient("gmall-product")
public interface ProductFeignService {

    @PostMapping("/product/skuinfo/get/sku-ids")
    R getBySkuIds(@RequestBody List<Long> skuIds);

}
